import logging,time

def Logger():
    t = time.strftime('%Y%m%d%H%M%S')
    log = logging.basicConfig(level=logging.DEBUG,
                              filename=f'./log/{t}.log',
                              filemode='a+',
                              format='%(thread)d %(funcName)s %(asctime)s %(message)s')
    return log